<?php
include(DDROOT.'/plugin/miaozhe/fun.php');
?>
<?php
if (!defined('INDEX')) {
	exit ('Access Denied');
}
$parameter=act_wap_view();
extract($parameter);
$shuju_data['content']=ItemDesc($shuju_data['data_id'],$shuju_data['laiyuan_type'],1,1);
include(TPLPATH.'/inc/header_3.tpl.php');
?><style>	.head {		position:fixed;	}	#iframe-goods {		width:100%;height:100%;border:0;z-index:9999;top:40px;left:0;display:none;overflow:hidden;	}	.goods img {		width:100% !important;	}	.goods span {		line-height:40px;	}</style>
<div class="goodsBody" style="overflow:hidden; background:#FFFFFF">
<dl class="goods">
<?php if($shuju_data['title']!=''){?>
    <dt><img src="<?=tb_img($shuju_data['img'],800)?>" width='100%' style="display:block" height='100%' alt='<?=$shuju_data['title']?>' /></a></dt>
    <div style="background:#f2f2f2; height:10px; margin-top:-4px"></div>
	<dd>
      <p class="p1"><font color="#FF6600"><?=$shuju_data['laiyuan']?></font> <?=$shuju_data['title']?></p><!--最多18个字-->
	   
  <p class="line"></p>
	    <?php if($shuju_data['price_man']>0){?>
<div class="lingquan2">
 <?php if($dd_wap_class->is_weixin()==1 && $shuju_data['laiyuan_type']<=2){?> 
 <a onClick="document.getElementById('weixindiv').style.display='block'" rel="nofollow"><span>领券省<em><?=$shuju_data['price_jian']?>元</em></span><b></b></a>

 <?php }else{?>
 <a href="<?=$shuju_data['lq_url']?$shuju_data['lq_url']:'javascript:void(0)'?>" rel="nofollow"><span>领券省<em><?=$shuju_data['price_jian']?>元</em></span><b></b></a>
  <?php }?>
 </div>
 <?php }?>
      <?php if($shuju_data['discount_price']>0){?>
      <p class="p2"><span class="span2"><?php if($shuju_data['price_man']>0){?> <span class="title-tips012">券后</span><?php }?><font><font style="font-size:16px">¥</font><?=$shuju_data['discount_price']?></font></span> <span class="span2" style="margin-left:5px"><s>¥<?=$shuju_data['price']?></s></span><?php if($shuju_data['sell']>0){?><span style="float:right">已售：<?=$shuju_data['sell']?> 件</span><?php }?></p>
      <?php }else{?>
      <p class="p2"><span class="span1">现价</span><span class="span2"><font>¥<?=$shuju_data['price']?>元</font></span></p>
      <?php }?>
	   <p class="p2"><span class="span3">返利 <font><?php $quanhoujia=number_format($shuju_data['discount_price'],2);
$quanhoufan=$quanhoujia*$shuju_data['fanli_bl'];
echo number_format(($quanhoufan/ 100),2)?></font></span>&nbsp;</p> 
	
	  </dd>
      <?php }else{?>
      <dt>该商品暂无信息</dt>
      <?php }?>
	  <div style="padding:10px">
	  <?=$shuju_data['content']?></div>
	  <div style=" width:100%;background:#FFFFFF;z-index: 999; bottom:52px;position: fixed;border-top:#ddd dashed 1px;"> 
	  <p class="buy" style="margin-right:12px;"> 
 <?php if($dd_wap_class->is_weixin()==1 && $shuju_data['laiyuan_type']<=2){?>
 <a onClick="document.getElementById('weixindiv').style.display='block';iframe_goods();" class="left" target="goods">去<?=$shuju_data['laiyuan']?>购买</a>
 <?php }else{?>
   <?php if($shuju_data['quan_total']>0){?>
     <a href="<?=$shuju_data['lq_url']?$shuju_data['lq_url']:'javascript:void(0)'?>">领券购买</a>
	 <?php }else{?>
     <a onClick="iframe_goods();" href='<?=$shuju_data['wap_jump']?>' dd-href="index.php?mod=jump&act=index&a=tb&id=<?=$shuju_data['id']?>&url=" class="left click_url" data-itemid="<?=$shuju_data['data_id']?>" isconvert=1 target="goods">去<?=$shuju_data['laiyuan']?>购买</a>
	<?php }?> 
 <?php }?>
      <div style=" width:190px; margin-left:15px; padding-top:10px; float:left;padding-bottom:13px">
         <a style="display:inline-block;" title="分享到新浪微博" href="http://service.weibo.com/share/mobile.php?title=<?=$shuju_data['title']?>&pic=<?=$shuju_data['img']?>&url=<?=$share_url?>&summary=赚钱是一种能力，花钱是一种技术，我能力有限，技术却很高。幸好及时发现了<?=$webset['title']?>，挣钱能力虽然没涨，但省钱能力猛增！！"><img src="<?=TPLURL?>/inc/images/sina.png" width="100%" /></a>
         <a style="display:inline-block;" title="分享到QQ空间" href="http://openmobile.qq.com/oauth2.0/m_jump?loginpage=loginindex.html&logintype=qzone&page=qzshare.html&summary=赚钱是一种能力，花钱是一种技术，我能力有限，技术却很高。幸好及时发现了<?=$webset['title']?>，挣钱能力虽然没涨，但省钱能力猛增！！&imageUrl=<?=$shuju_data['img']?>&url=<?=$share_url?>&title=<?=$shuju_data['title']?>&callbackUrl=<?=$share_url?>"><img src="<?=TPLURL?>/inc/images/qzone.png" width="100%" /></a>
         <a style="display:inline-block;" href="http://share.v.t.qq.com/index.php?c=share&a=index&title=<?=$shuju_data['title']?>&pic=<?=$shuju_data['img']?>&url=<?=$share_url?>&summary=赚钱是一种能力，花钱是一种技术，我能力有限，技术却很高。幸好及时发现了<?=$webset['title']?>，挣钱能力虽然没涨，但省钱能力猛增！！"><img src="<?=TPLURL?>/inc/images/txweibo.png" width="100%" /></a>
         </div></p></div>
	  </dl>

  </dd>
</dl>
</div><?php if($dduser['id'] == 0) { ?>	<iframe  name="goods" id="iframe-goods"frameborder="0" scrolling="no" marginheight="0" marginwidth="0" style="position:fixed"></iframe><?php } else { ?>	<iframe  name="goods" id="iframe-goods"frameborder="0" scrolling="no" marginheight="0" marginwidth="0" style="position:absolute"></iframe><?php } ?><script>	function iframe_goods() {		document.getElementById("iframe-goods").style.display = "block";	}</script>
<?php include(TPLPATH.'/inc/tdj.tpl.php');?>
<?php include(TPLPATH.'/inc/footer.tpl.php');?>